package com.design.structure.adapter.atguigu.classadapter;

/**
 * @ProjectName: design
 * @Package: com.design.structure.adapter.atguigu.classadapter
 * @ClassName: Client
 * @Author: shenaiguo
 * @Description:
 * @Date: 2020/8/31 0031 23:04
 */
public class Client {
    public static void main(String[] args) {
        System.out.println(" === 类适配器模式 ====");
        Phone phone = new Phone();
        phone.charging(new VoltageAdapter());
    }
}
